package cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceFactory;

import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PingAnAccidents;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PingAnBruise;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PingAnCarDamaged;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PingAnCasualty;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.Accidents;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.Bruise;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.CarDamaged;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.Casualty;

public class PingAnInsuranceFactory implements AbstractFactory {
	public Bruise CreateBruise() {
		return new PingAnBruise();
	}

	public Casualty CreateCasualty() {
		return new PingAnCasualty();
	}

	public CarDamaged CreateCarDamaged() {
		return new PingAnCarDamaged();
	}

	public Accidents CreateAccidents() {
		return new PingAnAccidents();
	}
}
